package cn.strive.eams.application.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ApplicationSaveParam {
    @ApiModelProperty(value = "申请id")
    Long id;
    @ApiModelProperty(value = "申请单id")
    Long applyId;
    @ApiModelProperty(value = "申请单号")
    String applyNumber;
    @ApiModelProperty(value = "申请人id")
    Long userId;
    @ApiModelProperty(value = "申请人姓名")
    String username;
    @ApiModelProperty(value = "申请人手机号")
    String phone;
    @ApiModelProperty(value = "申请人邮箱")
    String email;
    @ApiModelProperty(value = "申请人部门")
    String department;
    @ApiModelProperty(value = "申请状态")
    String status;
    @ApiModelProperty(value = "申请类型")
    String type;
    @ApiModelProperty(value = "申请创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;
    @ApiModelProperty(value = "申请修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateTime;
    @ApiModelProperty(value = "驳回原因")
    String rejectReason;
}
